<?php echo $this->render('partialhelper/turnview.phtml')?>

<?
if(!(empty($this->entry))){
	foreach ($this->entry as $array){
	?>
	<div class="Pinnwandeintrag">
		<div class="Pinnwandhead">
			<div class="Pinnwandtitel">
				<table style="text-align:center; width:100%; ">
					<tr>
						<td>Tag: <?php echo $this->escape($array['tag']);?></td>
						<td>von
							<a href="<?php echo $this->url(array('controller' => 'hafen', 'action' => 'show', 'locationid' =>  $this->escape($array['Startid']) ));?>">
						    <?php echo $this->escape($array['Starthafenname']);?></a>
						    nach
							<a href="<?php echo $this->url(array('controller' => 'hafen', 'action' => 'show', 'locationid' =>  $this->escape($array['Zielid']) ));?>">
						    <?php echo $this->escape($array['Zielhafenname']);?></a>
						    </td>
						<td>Distanz: <?php echo $this->escape($array['distanz']);?></td>
					</tr>
				</table>
			</div>
			<div class="Pinnwanduser">
				<!-- Erstellt von: -->
			</div>
		</div>		
		<div class="Pinnwandtext">			
			<?php echo $this->escape($array['inhalt']);?>
		</div>
	</div>
	<?php 
	}
}
?>
